package com.xmhmyh.generalframework.project.sys.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: 于丁
 * @DateTime: 2020/7/3 11:57 上午
 */
public class CascaderDTO implements Serializable {


    private static final long serialVersionUID = -6792381170345341585L;
    private String label;
    private String value;
    private Boolean leaf = false;
    private String parentId;
    private List<CascaderDTO> children = new ArrayList<>();


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<CascaderDTO> getChildren() {
        return children;
    }

    public void setChildren(List<CascaderDTO> children) {
        this.children = children;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Boolean getLeaf() {
        return leaf;
    }

    public void setLeaf(Boolean leaf) {
        this.leaf = leaf;
    }
}
